/*************************************
ScreenGameplay.h
Created By VietRise on 20/6/2014

*************************************/

#ifndef __SCREENLEVEL_H__
#define __SCREENLEVEL_H__

#include "cocos2d.h"
#include "SimpleAudioEngine.h"
#include "GameConfig.h"
#include <string>

USING_NS_CC;
using namespace CocosDenshion;
using namespace std;


class ScreenLevel : public CCLayer
{
private:
	CCSize _screenSize;

	CCMenu* _mainMenu;

	int _levelCompleted;
	int _arrayStar[NUMBERLEVELS];
	void createScreen();	
public:
	~ScreenLevel();
	ScreenLevel();

	static CCScene* scene();

	void selectLevel(CCObject* o);
	void pressBack(CCObject* o);
};

#endif // __SCREENLEVEL_H__